<?xml version="1.0" encoding="UTF-8"?>
<CBM packageType="json" packageCode="${policy.policyCoding}">

    <ANALYZE>

        <#if packageCheckAnalyze??>
            <#list packageCheckAnalyze?keys as policyTag>
                <#if packageCheckAnalyzeTag[policyTag].packageTacitly==1>
                    <PACKAGE tacitly="Y">
                        ${packageCheckAnalyze[policyTag]}
                    </PACKAGE>
                <#else>
                    <PACKAGE check="${packageCheckAnalyzeTag[policyTag].packageCheck}"
                            <#if packageCheckAnalyzeTag[policyTag].packageName??> name="${packageCheckAnalyzeTag[policyTag].packageName}" </#if> >
                        ${packageCheckAnalyze[policyTag]}
                    </PACKAGE>
                </#if>
            </#list>
        </#if>
        <#if packageAnalyze??>
            <PACKAGE>
                ${packageAnalyze}
            </PACKAGE>
        </#if>
    </ANALYZE>

    <INTEGRATE>
        <#if packageIntegrate??>
            <PACKAGE>
                ${packageIntegrate}
            </PACKAGE>
        </#if>
        <#if packageCheckIntegrate??>
            <#list packageCheckIntegrate?keys as policyTag>
                <#if packageCheckIntegrateTag[policyTag].packageTacitly==1>
                    <PACKAGE tacitly="Y">
                        ${packageCheckIntegrate[policyTag]}
                    </PACKAGE>
                <#else>
                    <PACKAGE check="${packageCheckIntegrateTag[policyTag].packageCheck}" <#if packageCheckIntegrateTag[policyTag].packageName??> name="${packageCheckIntegrateTag[policyTag].packageName}" </#if> >
                        ${packageCheckIntegrate[policyTag]}
                    </PACKAGE>
                </#if>

            </#list>
        </#if>
    </INTEGRATE>
</CBM>